package com.yantong.pojo.vo;

import java.math.BigDecimal;

/**
 * @title: UserAchievementVo* @author dehua* @date 2021/8/26  16:59
 */
public class UserAchievementVo {

    private Long id;
    private String nickname;
    private String mobile;
    private Integer isteam;
    private String isteamStr;
/**
 *自购业绩
 */
    private BigDecimal selfAchievement;
    /**
     *分享业绩
     */
    private BigDecimal shareAchievement;
    /**
     *总业绩
     */
    private BigDecimal sumAchievement;

    private Long teamId;
    private String address;
    private String tXiaoqu;
    private Integer total;
    private BigDecimal price;

    private Integer roleMid;
    private Integer centreId;
    private String centreName;

    private Integer teamNum;
    private Integer midNum;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Integer getIsteam() {
        return isteam;
    }

    public void setIsteam(Integer isteam) {
        this.isteam = isteam;
    }

    public String getIsteamStr() {
        return isteamStr;
    }

    public void setIsteamStr(String isteamStr) {
        this.isteamStr = isteamStr;
    }

    public BigDecimal getSelfAchievement() {
        return selfAchievement;
    }

    public void setSelfAchievement(BigDecimal selfAchievement) {
        this.selfAchievement = selfAchievement;
    }

    public BigDecimal getShareAchievement() {
        return shareAchievement;
    }

    public void setShareAchievement(BigDecimal shareAchievement) {
        this.shareAchievement = shareAchievement;
    }

    public BigDecimal getSumAchievement() {
        return sumAchievement;
    }

    public void setSumAchievement(BigDecimal sumAchievement) {
        this.sumAchievement = sumAchievement;
    }

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String gettXiaoqu() {
        return tXiaoqu;
    }

    public void settXiaoqu(String tXiaoqu) {
        this.tXiaoqu = tXiaoqu;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public void addPrice(BigDecimal price) {
        this.price = this.price.add(price);
    }

    public Integer getRoleMid() {
        return roleMid;
    }

    public void setRoleMid(Integer roleMid) {
        this.roleMid = roleMid;
    }

    public Integer getCentreId() {
        return centreId;
    }

    public void setCentreId(Integer centreId) {
        this.centreId = centreId;
    }

    public Integer getTeamNum() {
        return teamNum;
    }

    public void setTeamNum(Integer teamNum) {
        this.teamNum = teamNum;
    }
    public void addTeamNum(Integer teamNum) {
        if( this.teamNum == null ){
            this.teamNum = 0;
        }
        this.teamNum += teamNum;
    }

    public Integer getMidNum() {
        return midNum;
    }

    public void setMidNum(Integer midNum) {
        this.midNum = midNum;
    }
    public void addMidNum(Integer midNum) {
        if( this.midNum == null ){
            this.midNum = 0;
        }
        this.midNum += midNum;
    }

    public String getCentreName() {
        return centreName;
    }

    public void setCentreName(String centreName) {
        this.centreName = centreName;
    }
}
